package com.gxa.web_admin.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("crm_renewal_record" )
@AllArgsConstructor
public class RenewalRecordVO {

    private Integer id;

    /**
     * 合同编号
     */
    @TableField("contract_id" )
    private String contractId;

    /**
     * 新到期日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField("new_expiration_date" )
    private Date newExpirationDate;

    /**
     * 总金额
     */
    @TableField("money" )
    private BigDecimal money;

    /**
     * 已收款
     */
    @TableField("payment" )
    private BigDecimal payment;

    /**
     * 备注
     */
    @TableField("remark" )
    private String remark;

    /**
     * 业务人员
     */
    private String employeeName;

    /**
     * 续费标题
     */
    private String name;

}
